package libro.cap02.figuras;

public class TestAreaPromedio {

	public static void main(String[] args) {

		FiguaraGeometrica arr[] = { new Circulo(23), new Rectangulo(12, 4),
				new Triangulo(2, 5) };

		double prom = FiguaraGeometrica.areaPromedio(arr);
		System.out.println("Promedio = " + prom);

	}
}
